import threading
import time

cnt = 100000000


def count_down():
    start = time.time()
    global cnt
    while cnt > 0:
        cnt -= 1
    end = time.time()

    return end - start


if __name__ == "__main__":
    # print(count_down())
    t1 = threading.Thread(target=count_down)
    t2 = threading.Thread(target=count_down)
    t1.start()
    t2.start()
